59460e4ee07a0affd7c1a28837875c6dced9ae3f,plugins/IntentionPowerPak/src/com/siyeh/ipp/concatenation/CopyConcatenatedStringToClipboardIntention.java,CopyConcatenatedStringToClipboardIntention,buildContatenationText,#PsiExpression#StringBuilder#,72

Before Change


        if (expression instanceof PsiLiteralExpression) {
            final String text = expression.getText();
            final PsiType type = expression.getType();
            if (type != null && type.equalsToText("java.lang.String")) {
                final int textLength = text.length();
                if (textLength > 2) {
                    out.append(text.substring(1, textLength - 1));

After Change


        if (expression instanceof PsiLiteralExpression) {
            final String text = expression.getText();
            final PsiType type = expression.getType();
            if (type != null && (type.equalsToText("java.lang.String")
                    || type.equalsToText("char"))) {
                final int textLength = text.length();
                if (textLength > 2) {
                    out.append(text.substring(1, textLength - 1));